package com.woniu.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


@Builder
@Accessors(chain = true)
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class UserVO implements Serializable {

    private static final long serialVersionUID = -4148485233053987111L;

    @ApiModelProperty(value = "用户ID", position = 1)
    @JSONField(ordinal = 1)
    private String userId;


    @ApiModelProperty(value = "账号状态（启动/禁用）", position = 2)
    @JSONField(ordinal = 2)
    private Boolean enabled;


    @ApiModelProperty(value = "用户openid", position = 3)
    @JSONField(ordinal = 3)
    private String openid;

    @ApiModelProperty(value = "用户unionid", position = 4)
    @JSONField(ordinal = 4)
    private String unionid;


    @ApiModelProperty(value = "头像", position = 5)
    @JSONField(ordinal = 5)
    private String avatar;

    @ApiModelProperty(value = "昵称", position = 6)
    @JSONField(ordinal = 6)
    private String nickname;

    @ApiModelProperty(value = "是否燃放过第一次烟花", position = 7)
    @JSONField(ordinal = 7)
    private Boolean firstSetOff;

//    @ApiModelProperty(value = "分享ID", position = 8)
//    @JSONField(ordinal = 8)
//    private Integer shareId;




}
